package com.xxx.mch.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author FengHaixin
 * @description 一句话描述该文件的用途
 * @date 2020-09-12
 */
@Setter
@Getter
@ToString (callSuper = true)
@ApiModel ("细则搜索请求对象")
public class RuleSearchRequest
{
    @ApiModelProperty ("父id")
    @NotNull (message = "父id不能为空")
    private Integer parentId;

    @ApiModelProperty ("细则名称")
    @NotEmpty (message = "搜索关键字不能为空")
    private String name;
}
